package cn.edu.nit.sys.controller;

import cn.edu.nit.sys.service.EquipService;
import cn.edu.nit.sys.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author xiaobai
 * @Date 2022/9/24 20:31
 * @Version 1.0.0
 */
@RestController
@RequestMapping("/equip")
public class EquipController {

    @Autowired
    private EquipService equipService;

    @GetMapping("/type")
    public R getEquipType() {
        return equipService.getEquipType();
    }
}
